|
2020-2021 Sunseeker Telemetry and Lighting System
|
Go to the source code of this file.
Macros | |
| #define | Num_of_Channels 3 |
Functions | |
| void | main (void) |
| void | CTSD16_ISR (void) |
Variables | |
| uint32_t | Chresults [Num_of_Channels] |
| uint8_t | i = 0 |
| uint8_t | channels [Num_of_Channels] = {CTSD16_INPUT_CH9, CTSD16_INPUT_CH11, CTSD16_INPUT_CH13} |
| #define Num_of_Channels 3 |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 81 of file ctsd16_ex5_threeChSingleConv.c.
| void CTSD16_ISR | ( | void | ) |
Definition at line 134 of file ctsd16_ex5_threeChSingleConv.c.
References __bic_SR_register_on_exit(), Chresults, and i.
| void main | ( | void | ) |
Definition at line 88 of file ctsd16_ex5_threeChSingleConv.c.
References __delay_cycles(), __no_operation(), channels, i, and Num_of_Channels.
| uint8_t channels[Num_of_Channels] = {CTSD16_INPUT_CH9, CTSD16_INPUT_CH11, CTSD16_INPUT_CH13} |
Definition at line 86 of file ctsd16_ex5_threeChSingleConv.c.
Referenced by main().
| uint32_t Chresults[Num_of_Channels] |
Definition at line 84 of file ctsd16_ex5_threeChSingleConv.c.
Referenced by CTSD16_ISR().
| uint8_t i = 0 |
Definition at line 85 of file ctsd16_ex5_threeChSingleConv.c.
Referenced by CTSD16_ISR(), delay(), main(), and setup_DMA().